package com.gzdh.tang.modu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gzdh.tang.modu.entity.Bmzl;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

public interface BmzlMapper extends BaseMapper<Bmzl> {
    @Select("select bm,name from bmzl")
    List<Bmzl> findBmzlList(@Param("tableNameAddress") int tableNameAddress);

    @Select("select * from bmzl${addr}")
    List<Bmzl> selectListByTableNameContainAddr(@Param("addr") String addr);
}
